import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '@/assets/runrun/icon/iconfont.css'
// 引入mock
require("./mock/index.js")

//引入vant

import Vant from 'vant';
import 'vant/lib/index.css';


Vue.use(Vant);
// 例如引入vant图标
import { Icon } from 'vant';
Vue.use(Icon);
// 引入轮播图
import { Swipe, SwipeItem } from 'vant';

Vue.use(Swipe);
Vue.use(SwipeItem);
// 引入倒计时
import { CountDown } from 'vant';

Vue.use(CountDown);

// 引入弹出框
import { Popup } from 'vant';
Vue.use(Popup);
//引入商品导航
import { GoodsAction, GoodsActionIcon, GoodsActionButton } from 'vant';

Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);
// 引入nav导航栏
import { NavBar } from 'vant';

Vue.use(NavBar);
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
